//
//  BCNSpcConstant.h
//  Beacon
//
//  Created by arden on 11/19/11.
//  Copyright 2011 Fried Chicken Legs. All rights reserved.
//
//	constant defination for spc module


#import <Foundation/Foundation.h>

@interface BCNSpcConstant: NSObject
        
        //
        // Get the upper action line constant for RangeBar of Range chart
        //
        +(double) GetDr001: (int) n;
        
        //
        // Get the upper warning line constant for RangeBar of Range chart
        //
        +(double) GetDr025: (int) n;
        
        //
        // Get the lower warning line constant for RangeBar of Range chart
        //
        +(double) GetDr975: (int) n;
        
        //
        // Get the lower action line constant for RangeBar of Range chart
        //
        +(double) GetDr999: (int) n;
        
        //
        // Get the upper action line constant for SBar of standard deviation chart
        //
        +(double) GetBs001: (int) n;
        
        //
        // Get the upper warning line constant for SBar of standard deviation chart
        //
        +(double) GetBs025: (int) n;
        
        //
        // Get the lower warning line constant for SBar of standard deviation chart
        //
        +(double) GetBs975: (int) n;
        
        //
        //Get the lower action line constant for SBar of standard deviation chart
        //
        +(double) GetBs999:(int) n;
        
        //
        //Get the A2 constant centering chart
        //
        +(double) GetA2s: (int) n;
        
        //
        //Get the Cn constant for estimating sigma of XBar based on standard deviation chart
        //
        +(double) GetCns:(int) n;
        
        //
        //Get the C4 constant for estimating sigma of XBar based on standard deviation chart, sample size may > 25
        //
        +(double) GetC4s: (int) n;
        
        //                                                                                             
        //Get the A3 constant for estimating ucl of XBar based on standard deviation chart, sample size may > 25
        //                                                                                            
        +(double) GetA3s: (int) n;
        
        //                                                                                             
        //Get the B3 constant for estimating lcl of S chart, sample size may > 25                               
        //                                                                                            
        +(double) GetB3s:(int) n;
        
        //                                                                                             
        //Get the B4 constant for estimating ucl of S chart, sample size may > 25                               
        //                                                                                            
        +(double) GetB4s:(int) n;
        
@end
